package com.lz.yz.outing.enumeration;

public enum PlatformType {
    MP(1), KF(2);

    private int value;
    PlatformType(int value) {
        this.value = value;
    }

    public int value() {
        return this.value;
    }

    public static PlatformType getPlatformTypeByStatus(int status){
        switch (status){
            case 1 : return PlatformType.MP;
            case 2 : return PlatformType.KF;
        }
        return null;
    }
}
